import { Action } from './actions'

export type Reducer<State> = (state: State, action: Action) => State